package com.clothe.dao;

import java.sql.Connection;
import java.util.List;

import com.clothe.dto.AdminInfo;

public interface IAdminInfoDAO {
	
	
	public boolean save(AdminInfo adminInfo) throws Exception;

	public boolean delete(int id) throws Exception;

	public boolean update(AdminInfo adminInfo) throws Exception;

	public AdminInfo get(int id) throws Exception;

	public List<AdminInfo> list() throws Exception;

	public AdminInfo login(String account,String password) throws Exception;

	public void setConn(Connection conn);

//	boolean updatePsw(AdminInfo adminInfo) throws Exception;

}
